package com.mdd.common.mapper.order;

import com.mdd.common.core.basics.IBaseMapper;
import com.mdd.common.entity.order.OrderClue;
import com.mdd.common.entity.order.OrderClueAllocationRecord;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 订单Mapper
 * @author LikeAdmin
 */
@Mapper
public interface OrderClueAllocationRecordMapper extends IBaseMapper<OrderClueAllocationRecord> {

    /**
     *  批量分配
     * @param params (orderClueIds 线索ids sourceDeptId 来源部门id sourceDeptCode 来源部门编码 targetDeptId 目标部门id targetDeptCode 目标部门编码 type 操作类型)
     */
    void batchAddOrderClueAllocationRecord(@Param("params") Map params);

}
